package com.youme

import com.youme.api.RetrofitManager
import com.youme.api.YouMeApi
import com.youme.model.Profile

/**
 * Time:3/20/21 4:00 PM
 * Author:
 * Description:
 */
interface YouMeConfig {
    interface KEY {
        companion object {
            const val PREF_TOKEN: String = "token"
        }
    }
}

val mUserApi by lazy {
    RetrofitManager.of(YouMeApi.User::class.java)
}

val mYouMeApi by lazy {
    RetrofitManager.of(YouMeApi::class.java)
}

val mProduct by lazy {
    RetrofitManager.of(YouMeApi.Product::class.java)
}

val mShouYe by lazy {
    RetrofitManager.of(YouMeApi.ShouYe::class.java)
}

val mAddress by lazy {
    RetrofitManager.of(YouMeApi.Address::class.java)
}

val mOrder by lazy {
    RetrofitManager.of(YouMeApi.Order::class.java)
}


val mFriendCircle by lazy {
    RetrofitManager.of(YouMeApi.FriendCircle::class.java)
}

var mCurrentUserProfile: Profile? = null
val mTeamwork by lazy {
    RetrofitManager.of(YouMeApi.Teamwork::class.java)
}